package com.mrzhou.gateway;

import com.mrzhou.common.constant.CommonConstant;
import com.mrzhou.core.tool.launch.CloudApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 *  cloud-core中不包含web组件, 防止启动报错
 * @author qiang.zhou
 */
@EnableHystrix
//@EnableScheduling
@SpringCloudApplication
public class CloudGatewayApplication {

    public static void main(String[] args) {
        CloudApplication.run(CommonConstant.APPLICATION_CLOUD_GATEWAY, CloudGatewayApplication.class, args);
    }

}
